(function (win) {
	var rotto = win.Ottor = win.Ottor || {};
	
	var typeUtil = rotto.typeUtil = rotto.typeUtil || {};
	var collectionUtil = rotto.collectionUtil = rotto.collectionUtil || {};
	
	// 类型判断
	var typeArray = ['String', 'Function', 'Array', 'Number', 'RegExp', 'Object'];
	for (var i = 0; i < typeArray.length; i++) {
		typeUtil['is' + typeArray[i]] = function (data) {
			return Object.prototype.toString.apply(data) == '[object ' + typeArray[i] + ']';
		};
	}
	
	collectionUtil.foreach = collectionUtil.foreach || function (data, callback) {
		if (typeUtil.isArray()) {
			
		}
	};
	
	
	
	
	collectionUtil.inArray = collectionUtil.inArray || function (haystack, needel) {
		
	};
}) (this);